package com.spring;

public class SingIeton {

    private static SingIeton singIeton;
    private SingIeton(){

    }

    private static class SingLetonDHelper{
        private static final SingIeton INSTANCCE = new SingIeton();
    }

    public static SingIeton getInstance(){
        singIeton = SingLetonDHelper.INSTANCCE;
        return singIeton;
    }
    public static SingIeton test(){
        return singIeton;
    }
}
